package com.zy.edu.bean;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author: HuangHaiShui
 * @description:
 * @date: 2021/7/16 9:14
 * @version: 1.0
 */
@ContentRowHeight(20)    //内容行高
@HeadRowHeight(20)
@ColumnWidth(30)
@Data
public class UserDto {

    @ExcelProperty(value = "班级名称")
    private String className;
    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String name;
    /**
     * 手机号码
     */
    @ExcelProperty(value = "手机号码")
    private String tel;
    /**
     * 账号
     */
    @ExcelProperty(value = "账号")
    private String account;

    @ExcelProperty(value = "创建时间")
    private Date createTime;

}
